-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2.4 #323
Release 2.4 #323
Conversation
- Updates all root views instead of only the body view - still detects duplicate templates when HMR is enabled
As HTML.TransformingVisitor would not visit the elements within each block tag, the OptimisingVisitor would skip a portion of the templates.
Resolves an issue where RawCompactingVisitor would not recurse through any nested elements.
``` <template name="..." whitespace="strip"> </template> ```
Hi @nathan-muir @brucejo75 @zodern could you help me with the https://github.com/meteor/blaze/blob/master/HISTORY.md updates for 2.4? As we have many changes here would be important to highlight first important changes that could affect app behavior. Thanks |
submitted #325 |
#319 Fixed a few situations where the template compiler wouldn't optimise it's output javascript. Should make rendering faster (if the initial optimisation reasoning holds true) #321 Just source code modernisation, making it easier to read. Shouldn't change any API's; except may need explicit import if other packages are using directly. #324 Add a |
Also removes the circular dependency between htmljs and html-tools packages
I added the hmr and the beta, actually get the following message in a constant interval:
|
@jankapunkt are you running Meteor 2 or newer? cc @zodern |
@jankapunkt you need to restart Meteor after adding the |
@zodern thx that works, didn't read carefully enough and just added the packages via editing .meteor/packages besides that there are no issues found yet. However, I have another app where I intercept/override lots of Template.prototype functions so I will check this out as well. |
@filipenevola is there something left that needs to be done to move forward 2.4? Anywhere where we can help? The HMR is working really smooth so far, still no errors, even with my packages that hook deeply into the Templates. |
There is nothing left. We are going to release in the next days. 💪 |
Blaze 2.4 is out! New versions: Published htmljs@1.1.0.
Publishing html-tools
Published html-tools@1.1.0.
Publishing blaze-tools
Published blaze-tools@1.1.0.
Publishing spacebars-compiler
spacebars-compiler: updating npm dependencies -- uglify-js...
Published spacebars-compiler@1.2.0.
Publishing templating-tools
Published templating-tools@1.2.0.
Publishing caching-html-compiler
Published caching-html-compiler@1.2.0.
Publishing static-html
Published static-html@1.3.0.
Publishing blaze
Published blaze@2.4.0.
Publishing spacebars
Published spacebars@1.1.0.
Publishing templating-compiler
Published templating-compiler@1.4.0.
Publishing templating-runtime
Published templating-runtime@1.4.0.
Publishing blaze-hot
Published blaze-hot@1.0.0.
Publishing templating
Published templating@1.4.0.
Publishing spacebars-tests
Published spacebars-tests@1.2.0.
Publishing blaze-html-templates
Published blaze-html-templates@1.2.0. |
As we have many big PRs right now in progress we are grouping them in this branch.
This branch was started from
hot-module-replacement
branch.Beta
beta.3 is out. Our goal is to have beta.3 as our latest beta.
How to test 2.4
How to test 2.4 with HMR
You can try this integration in apps using Meteor 2 or newer by running:
To also use HMR for javascript files that use the Template api, run